package com.whq.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class Test2 {
    private Test1 test1;

    public Test2(Test1 test1) {
        this.test1 = test1;
    }
}
